package com.ruoyi.kenuo.domain;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 设备管理对象 kenuo_equ
 *
 * @author polo
 * @date 2022-08-23
 */
@TableName("kenuo_equ")
public class Equ extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编码 */
    private Long id;

    /** 设备sn码 */
    @Excel(name = "设备sn码")
    private String equipmentSn;

    /** 设备型号 */
    @Excel(name = "设备型号")
    private String equipmentModel;
    /** 设备型号 */
    private String equipmentName;

    /** 绑定状态 绑定状态 1:未绑定  2：已绑定 */
    private Integer boundStatus;

    /** 绑定用户id */
    private Long boundId;

    /** 绑定用户名 */
    private String boundName;

    /** 绑定手机号 */
    private String boundPhone;

    /** 治疗人数量 */
    private Integer therapyNum;

    /** 绑定时间 */
    private Date boundTime;

    /** 解绑时间 */
    private Date unboundTime;

    /** 设备版本 */
    private String version;
    /** 经销商id */
    private String xsUserId;
    /** 经销商姓名 */
    private String xsName;
    /** 销售渠道 */
    @Excel(name = "设备类型",readConverterExp = "0=医用,1=家医两用,2=家用")
    private String saleNel;

    /** 是否租赁 */
    private Integer isLease;

    /** 租赁开始时间 */
    private Date leaseCreateTime;

    /** 租赁结束时间 */
    private Date leaseEndTime;

    /** 设备说明 */
    private String des;

    private String mac;
    private Date nearTime;
    private String showModeTime;
    //体温测量时温度显示模式 0：仅显示体温  1：体温和室温
    private String temShowMode;
    //底座显示的温度单位 0：代表C  1：华氏度
    private String temUnit;
    //底座LED背光的控制方式  0：自动 1：手动
    private String lightMode;
    //底座体温异常提醒 0：仅屏幕提醒  1：声光提醒  2：关闭
    private String exceptionRemind;

    private String servial;

    private String electic;

    //底座湿度
    private String wet;
    //温度补偿 整数：0 关闭  1 打开
    private String temBu;
    //温度补偿目标值：（温度值0-60摄氏度）
    private String temTarget;
    //底座盒温度显示模式：（整数：0 体温和室温切换显示  1只显示体温）
    private String temDiMode;
    //底座盒的高温提醒值：（温度值0-60摄氏度）
    private String diGaoRemind;
    //底座盒的低温提醒值：（温度值0-60摄氏度）
    private String diDiwenRemind;
    //底座盒上报提醒开关：（整数：0 关闭底座盒体温的所有上报提醒功能  1 打开底座盒体温的上报提醒功能但是只进行屏幕显示提醒 2表示打开底座盒体温的提醒功能且既进行屏幕显示提醒也进行蜂鸣器声音提醒）
    private String diRemindSwitch;


    private String dips;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setEquipmentSn(String equipmentSn)
    {
        this.equipmentSn = equipmentSn;
    }

    public String getEquipmentSn()
    {
        return equipmentSn;
    }
    public void setEquipmentModel(String equipmentModel)
    {
        this.equipmentModel = equipmentModel;
    }

    public String getEquipmentModel()
    {
        return equipmentModel;
    }
    public void setBoundStatus(Integer boundStatus)
    {
        this.boundStatus = boundStatus;
    }

    public Integer getBoundStatus()
    {
        return boundStatus;
    }
    public void setBoundId(Long boundId)
    {
        this.boundId = boundId;
    }

    public Long getBoundId()
    {
        return boundId;
    }
    public void setBoundName(String boundName)
    {
        this.boundName = boundName;
    }

    public String getBoundName()
    {
        return boundName;
    }
    public void setBoundPhone(String boundPhone)
    {
        this.boundPhone = boundPhone;
    }

    public String getBoundPhone()
    {
        return boundPhone;
    }
    public void setTherapyNum(Integer therapyNum)
    {
        this.therapyNum = therapyNum;
    }

    public Integer getTherapyNum()
    {
        return therapyNum;
    }
    public void setBoundTime(Date boundTime)
    {
        this.boundTime = boundTime;
    }

    public Date getBoundTime()
    {
        return boundTime;
    }
    public void setUnboundTime(Date unboundTime)
    {
        this.unboundTime = unboundTime;
    }

    public Date getUnboundTime()
    {
        return unboundTime;
    }
    public void setIsLease(Integer isLease)
    {
        this.isLease = isLease;
    }

    public Integer getIsLease()
    {
        return isLease;
    }
    public void setLeaseCreateTime(Date leaseCreateTime)
    {
        this.leaseCreateTime = leaseCreateTime;
    }

    public Date getLeaseCreateTime()
    {
        return leaseCreateTime;
    }
    public void setLeaseEndTime(Date leaseEndTime)
    {
        this.leaseEndTime = leaseEndTime;
    }

    public Date getLeaseEndTime()
    {
        return leaseEndTime;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public String getXsUserId() {
        return xsUserId;
    }

    public void setXsUserId(String xsUserId) {
        this.xsUserId = xsUserId;
    }

    public String getXsName() {
        return xsName;
    }

    public void setXsName(String xsName) {
        this.xsName = xsName;
    }

    public String getSaleNel() {
        return saleNel;
    }

    public void setSaleNel(String saleNel) {
        this.saleNel = saleNel;
    }

    public String getEquipmentName() {
        return equipmentName;
    }

    public void setEquipmentName(String equipmentName) {
        this.equipmentName = equipmentName;
    }

    public String getDes() {
        return des;
    }

    public void setDes(String des) {
        this.des = des;
    }

    public String getMac() {
        return mac;
    }

    public void setMac(String mac) {
        this.mac = mac;
    }

    public Date getNearTime() {
        return nearTime;
    }

    public void setNearTime(Date nearTime) {
        this.nearTime = nearTime;
    }

    public String getShowModeTime() {
        return showModeTime;
    }

    public void setShowModeTime(String showModeTime) {
        this.showModeTime = showModeTime;
    }

    public String getTemShowMode() {
        return temShowMode;
    }

    public void setTemShowMode(String temShowMode) {
        this.temShowMode = temShowMode;
    }

    public String getTemUnit() {
        return temUnit;
    }

    public void setTemUnit(String temUnit) {
        this.temUnit = temUnit;
    }

    public String getLightMode() {
        return lightMode;
    }

    public void setLightMode(String lightMode) {
        this.lightMode = lightMode;
    }

    public String getExceptionRemind() {
        return exceptionRemind;
    }

    public void setExceptionRemind(String exceptionRemind) {
        this.exceptionRemind = exceptionRemind;
    }

    public String getServial() {
        return servial;
    }

    public void setServial(String servial) {
        this.servial = servial;
    }

    public String getElectic() {
        return electic;
    }

    public void setElectic(String electic) {
        this.electic = electic;
    }

    public String getWet() {
        return wet;
    }

    public void setWet(String wet) {
        this.wet = wet;
    }

    public String getDips() {
        return dips;
    }

    public void setDips(String dips) {
        this.dips = dips;
    }

    public String getTemBu() {
        return temBu;
    }

    public void setTemBu(String temBu) {
        this.temBu = temBu;
    }

    public String getTemTarget() {
        return temTarget;
    }

    public void setTemTarget(String temTarget) {
        this.temTarget = temTarget;
    }

    public String getTemDiMode() {
        return temDiMode;
    }

    public void setTemDiMode(String temDiMode) {
        this.temDiMode = temDiMode;
    }

    public String getDiGaoRemind() {
        return diGaoRemind;
    }

    public void setDiGaoRemind(String diGaoRemind) {
        this.diGaoRemind = diGaoRemind;
    }

    public String getDiDiwenRemind() {
        return diDiwenRemind;
    }

    public void setDiDiwenRemind(String diDiwenRemind) {
        this.diDiwenRemind = diDiwenRemind;
    }

    public String getDiRemindSwitch() {
        return diRemindSwitch;
    }

    public void setDiRemindSwitch(String diRemindSwitch) {
        this.diRemindSwitch = diRemindSwitch;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("equipmentSn", getEquipmentSn())
            .append("equipmentModel", getEquipmentModel())
            .append("equipmentName", getEquipmentName())
            .append("boundStatus", getBoundStatus())
            .append("boundId", getBoundId())
            .append("boundName", getBoundName())
            .append("boundPhone", getBoundPhone())
            .append("therapyNum", getTherapyNum())
            .append("boundTime", getBoundTime())
            .append("unboundTime", getUnboundTime())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("isLease", getIsLease())
            .append("leaseCreateTime", getLeaseCreateTime())
            .append("leaseEndTime", getLeaseEndTime())
            .append("version", getVersion())
            .append("xsUserId", getXsUserId())
            .append("xsName", getXsName())
            .append("saleNel", getSaleNel())
            .append("des", getDes())
            .toString();
    }
}
